package com.mfrs;

import com.mfrs.ActionResult;
import com.mfrs.FaceData;
import com.mfrs.FaceDetectionParam;
import com.mfrs.BmpData;
import android.net.Uri;

interface IFRSMobileService {
	ActionResult genLicenseCode(out String[] licenseCode);
	ActionResult setLicenseKey(in String licenseKey);
	ActionResult getLicenseInfo(out String[] owner, out String[] expiryDate);
	
	ActionResult faceDataDetection(in byte[] image, out List<FaceData> faceDataList);		
	ActionResult faceMatching(in byte[] featureData1, in byte[] featureData2, out float[] score);

	ActionResult getFaceDetectionParam(out FaceDetectionParam faceDetectionParam);
	ActionResult setFaceDetectionParam(in FaceDetectionParam faceDetectionParam);
	
	ActionResult resizeByScale(in byte[] srcImg, in float scale, out BmpData imgData);
	ActionResult resizeByDimension(in byte[] srcImg, in int tgtWidth, in int tgtHeight, out BmpData imgData);
}


